package com.etc.dao;

import java.util.List;

import com.etc.entity.*;

public interface AnsAnswerDao {
    //回复信息
	public int answerAnsMessage(AnsAnswer ansanswer);
//查询
	public List<AnsAnswer> findAnswerAnsMessage(int id);
//删除
	public int deleteAnsAnswer(int id);
//禁
	public int closeAnsAnswer(int id);
//解
	public int openAnsAnswer(int id);
//查询用户发表的回复
	public List<AnsAnswer> findUserAnsAnswer(String username);
//查询所有的回复
	public List<AnsAnswer> searchAllAnsAnswer();
//查找
	public int findUpid(int ansid);
}
